package listener;

import java.util.ArrayList;
import java.util.List;

import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.LinearLayout;
import android.widget.TextView;

public class DD implements OnItemClickListener {

	  List<String> itemsList = new ArrayList<String> ( ) ; 
	  public void set(List<String> a){
		  itemsList=a;
	  }
	@Override
	public void onItemClick(AdapterView<?> parent, View view, int position,
			long id) {
           System.out.println(">>"+       itemsList.get(position));


	}

}
